<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>文本样式合集</title>
<style>
    .h1{
        font-family: "宋体";
        color: blue;
    }
    .h3{
        font-family: "微软雅黑";
    }
    /* 字体大小默认为16px */
    .p{
        font-size: 20px;
    }
    .strong{
        font-weight: 10;
    }
</style>
</head>
<body>
    <h1 class="h1">font-family可以改变字体</h1>
    <h3 class="h3">font-family可以改变字体</h3>
    <p class="p">font-size可以调整字体大小</p>
    <p class="strong">font-weight可以改变字体粗细</p>

</body>
</html>